package com.itheima.tliasmanagement.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

@Data
public class AddStudentDto {
    private String name;
    private String no;
    private Integer gender;
    private String phone;
    private Integer degree;
    private Integer clazzId;
    private String idCard;
    private Integer isCollege;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate graduationDate;
}
